package com.yunshang.ysmall.model;

import java.util.ArrayList;
import java.util.List;


public class TrackingInFormation {
	private  String EBusinessID ;//电商id
	private String ShipperCode;//快递编码
	private String LogisticCode;//物流单号
	private boolean Success;//返回的状态
	private String  State;//返回的物流状态。物流状态：2-在途中,3-签收,4-问题件,0-查询不到信息
	private String  Reason;//Reason" : "暂无轨迹信息"
	private List<TrackingStatusInformation> Traces =new ArrayList<TrackingStatusInformation>();
	public TrackingInFormation() {
	}
	
	public TrackingInFormation(String eBusinessID, String shipperCode,
			String logisticCode, boolean success, String state,
			List<TrackingStatusInformation> Traces) {
		EBusinessID = eBusinessID;
		ShipperCode = shipperCode;
		LogisticCode = logisticCode;
		Success = success;
		State = state;
		this.Traces = Traces;
	}

	public String getEBusinessID() {
		return EBusinessID;
	}
	public void setEBusinessID(String eBusinessID) {
		EBusinessID = eBusinessID;
	}
	public String getShipperCode() {
		return ShipperCode;
	}
	public void setShipperCode(String shipperCode) {
		ShipperCode = shipperCode;
	}
	public String getLogisticCode() {
		return LogisticCode;
	}
	public void setLogisticCode(String logisticCode) {
		LogisticCode = logisticCode;
	}
	public boolean isSuccess() {
		return Success;
	}
	public void setSuccess(boolean success) {
		Success = success;
	}
	public String getState() {
		return State;
	}
	public void setState(String state) {
		State = state;
	}

	public String getReason() {
		return Reason;
	}

	public void setReason(String reason) {
		Reason = reason;
	}

	public void setTraces(List<TrackingStatusInformation> traces) {
		Traces = traces;
	}
	
	
	public List<TrackingStatusInformation> getTraces() {
		return Traces;
	}

	public void setTrackingStatusInformations(
			List<TrackingStatusInformation> Traces) {
		this.Traces = Traces;
	}
	

	/*@Override
	public String toString() {
		return "TrackingInFormation [EBusinessID=" + EBusinessID
				+ ", ShipperCode=" + ShipperCode + ", LogisticCode="
				+ LogisticCode + ", Success=" + Success + ", State=" + State
				+ ", trackingStatusInformations=" + Traces
				+ "]";
	}*/

	
	

}
